package com.gitee.starblues.grape.core.domain.user;


import com.gitee.starblues.grape.core.domain.Entity;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 返利账户
 * @author laynezhu
 *
 */
@Data
public class RebateAccount extends Entity {
	/**
	 * 可用余额
	 */
	BigDecimal availableBalance = new BigDecimal(0);

	/**
	 * 累积获得返利
	 */
	BigDecimal totalAmount = new BigDecimal(0);
	
	
	private String userId;

	private String userName;

}
